package com.example.flower_shop.repository;

import com.example.flower_shop.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryRepository extends BaseRepository<Category, Long> {
    
    List<Category> findByNameContaining(String name);
    
    boolean existsByName(String name);
} 